package com.shawn.appupdater.updater;

import com.shawn.appupdater.updater.net.INetManager;
import com.shawn.appupdater.updater.net.OkHttpNetManager;

/**
 * app升级的业务类
 */
public class AppUpdater {
    private static AppUpdater appUpdater = new AppUpdater();

    public static AppUpdater getInstance() {
        return appUpdater;
    }

    private INetManager iNetManager = new OkHttpNetManager();

    public void setiNetManager(INetManager iNetManager){
        this.iNetManager = iNetManager;
    }

    public INetManager getiNetManager(){
        return this.iNetManager;
    }
}
